 <?php include_once 'navInfo.php';?>
 <style>
<!--
.rightBrn { position:absolute; top:10px; right:10px; }
.rightBrn span{ padding:0 10px; color:#CCCCCC}
.rightBrn a{color:#fff; text-decoration:none;text-shadow: 0 0 0pt, 2px 2px 2px #333333;}
.rightBrn a:hover{text-decoration: underline;}
-->
</style>
   <div class="span-24" id="TopBar">
   <a href="#" class="Logo">Amazing mobile</a>
   <div class="rightBrn">
   
<?php
 	@session_start();
    if (isset($_SESSION["user"])) {
 ?>
   
     		<script type="text/javascript">document.write(getUser().Name);</script> 
    		 您好，歡迎登入系統。
        </span>
    	<a href="javascript: if(confirm('確認登出?')) window.location='/ad/sys/com/control/publish/UserService.php?action=logout'">登出</a> 

 <?php 
    } 
?>
</div>
    </div>
    <div class="span-24" id="TopNav">
    <div class="TopNav-L">
    <div class="Slogan">Media 後台管理</div>
    <ul>
    <li><a href="#">設計廣告的常見問題</a></li>
    <li><a href="#">我會做手機版或Apps</a></li>
    </ul>

    </div>
    <div id="navDiv" class="TopNav-R" style="display: none;">
    <ul>
    <li><a href="publishAccount.php?editType=0">帳號管理</a></li>
    <li><a href="publishMAppList.php">管理您的應用程式</a></li>
    <li><a href="publishDownload.php">下載專區</a></li>
    <li><a href="publishReport.php">檢視您的報告</a></li>
    <li id="adminLi"><a href="publishMember.php">管理您的會員</a></li>
    <li id="cpcLi"><a href="paysetting.php">廣告金額設定</a></li>
    
    </ul>
    </div>
    </div>
